discord china

您所在的位置:网站首页 Discord没有webhook权限 是为什么 discord china

discord china

2024-07-17 17:25| 来源: 网络整理| 查看: 265

discord china

The author selected the Apache Software Foundation to receive a donation as part of the Write for DOnations program.

作者选择了Apache Software Foundation作为Write for DOnations计划的一部分来接受捐赠。

介绍 (Introduction)

When you have critical websites you’ll want to know when they are experiencing any issues so you can fix them before there’s an impact on your users. One way to receive notifications is to set up alerts through a text-based chat system.

当您拥有重要的网站时,您将想知道它们何时遇到任何问题,以便在对用户造成影响之前进行修复。 接收通知的一种方法是通过基于文本的聊天系统设置警报。

Discord is a hosted chat system similar to Slack. With Discord, you can set up a free messaging system that lets you communicate with text messages, images, audio, and video. While it offers premium features, you can sign up for free, and it has clients available for Windows, macOS, Linux, Android, and iOS.

Discord是类似于Slack的托管聊天系统。 使用Discord,您可以设置一个免费的消息传递系统,使您可以与文本消息,图像,音频和视频进行通信。 它提供高级功能,但您可以免费注册 ,并且具有适用于Windows,macOS,Linux,Android和iOS的客户端。

In this tutorial, you will configure your own Discord server, create a Discord webhook, write a Bash script that will check the status of a list of websites, and test notifications from your server to your Discord channel.

在本教程中,您将配置自己的Discord服务器,创建Discord Webhook,编写一个Bash脚本以检查网站列表的状态,并测试从服务器到Discord频道的通知。

先决条件 (Prerequisites)

Before you begin this guide you’ll need the following:

在开始本指南之前,您需要满足以下条件:

An Ubuntu 18.04 server that will run your monitoring script and talk to Discord (monitor-server). You can set this server up by following this Initial Server Setup Guide.

一台Ubuntu 18.04服务器,它将运行您的监视脚本并与Discord( monitor-server )通信。 您可以按照《 初始服务器安装指南》来设置该服务器。

If you don’t have a website you would like to monitor yet, set up the apache-server with How To Install the Apache Web Server on Ubuntu 18.04 and make sure to complete Step 5 on setting up a virtual host.

如果您还没有要监控的网站,请使用如何在Ubuntu 18.04上安装Apache Web服务器来设置apache-server ,并确保完成设置虚拟主机的第5步。

A Discord account. You can visit the Discord registration page to sign up for a free Discord account.

Discord帐户。 您可以访问Discord注册页面以注册免费的Discord帐户。

第1步-设置Discord Webhook (Step 1 — Setting Up Your Discord Webhook)

Once you have opened your Discord account you can create your own private Discord server.

打开Discord帐户后,您可以创建自己的私有Discord服务器。

First, log in to your Discord account in your browser or launch your Discord app and click on the Create a server button.

首先, 在浏览器中登录到Discord帐户或启动Discord应用程序 ,然后单击“ 创建服务器”按钮。

Then pick a name for your server and click on the Create a server button.

然后为服务器选择一个名称,然后单击“ 创建服务器”按钮。

Next, you will configure your Discord webhook. The webhooks are unique URLs that you can use to link services together. Discord’s webhooks allow you to automate your messages and send data updates to your Discord text channels.

接下来,您将配置Discord Webhook。 Web钩子是唯一的URL,可用于将服务链接在一起。 Discord的webhook允许您自动执行消息并将数据更新发送到Discord文本通道。

In this tutorial, yo



【本文地址】


今日新闻


推荐新闻


    CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3